package com.daxia.bumall.common;

public enum DecorateNoteUserType {
	NomalUser(0, "普通用户"), 
	DesignerUser(4, "设计师用户");

	private int value;
	private String remark;

	private DecorateNoteUserType(int value, String remark) {
		this.value = value;
		this.remark = remark;
	}

	public int getValue() {
		return value;
	}

	public String getRemark() {
		return remark;
	}

	public static DecorateNoteUserType getByValue(int value) {
		for (DecorateNoteUserType o : DecorateNoteUserType.values()) {
			if (o.getValue() == value) {
				return o;
			}
		}
		return null;
	}
}
